package com.imooc.controller;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

@ApiIgnore
@RestController
public class RedisController {
    final static Logger logger = LoggerFactory.getLogger(RedisController.class);

    @Autowired
    RedisTemplate redisTemplate;


    @GetMapping("/get")
    public Object get() {

        return "hello world";
    }

}
